package com.xyz.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.xyz.pojo.ProductCategory;

public interface CategoryRepository extends JpaRepository<ProductCategory, Integer> {

	/**
	 * 根据类目编号查询类别
	 */
	List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryTypeList);
}
